import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { tests } from '../../types/tests';

export interface ReqGetCourseTest extends BaseRequest {
    course:ObjectId
    examOrHomework:'exam' | 'homework'
}

export interface ResGetCourseTest extends BaseResponse {
    tests:tests[]
}

export const conf: BaseConf = {
    needLogin: true
}